package com.open.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.admin.entity.Menu;
import com.open.admin.resp.MenuDTO;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 */
@Mapper
@Repository
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermsByUserId(Long userId);

	List<MenuDTO> getMenusByUserId(Long userId);
}
